package cn.lanqiao.bigDate.service.data.impl;

import cn.lanqiao.bigDate.entity.data.DataPbhouse;
import cn.lanqiao.bigDate.mapper.data.DataBookLabelHeadingMapper;
import cn.lanqiao.bigDate.mapper.data.DataPbhouseMapper;
import cn.lanqiao.bigDate.service.data.DataBookLabelHeadingService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author McxYint
 * @date 2022/4/6
 */
@Service
public class DataBookLabelHeadingServiceImpI implements DataBookLabelHeadingService {
    @Resource
    private DataBookLabelHeadingMapper dataheadingMapper;

    @Override
    public List<Map<String, Integer>> findClassifyCount() {
        List<Map<String, Integer>> classify = dataheadingMapper.findClassify();
//        for (Map<String, Integer> classsify:classify){
//            System.out.println(classsify);
//        }
        return classify;
    }
}
